package com.jdrx.ocp.beans.dto.excel;

import com.google.common.collect.Maps;

import java.util.Map;

/**
 * 
 * @ClassName: ExcelExportAuthServiceDTO
 * @Description: excel接口导出dto
 * @author liudebing
 * @date 2017年10月30日 上午10:50:09
 *
 */
public class ExcelExportApiDTO {

	/**
	 * 是否选中MAP key为服务ID，value:为是否选中（0:没有任何选择，1：全选，2：半选）
	 */
	private Map<Long, String> serviceAuthMap = Maps.newLinkedHashMap();

	/**
	 * 是否是服务 true:服务
	 */
	private Boolean isService;

	/**
	 * 接口名称
	 */
	private String apiName;

	/**
	 * 0:没有任何选择，1：全选，2：半选
	 */
	private Integer authIsAll;

	public Boolean getIsService() {
		return isService;
	}

	public void setIsService(Boolean isService) {
		this.isService = isService;
	}

	public String getApiName() {
		return apiName;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public Map<Long, String> getServiceAuthMap() {
		return serviceAuthMap;
	}

	public void setServiceAuthMap(Map<Long, String> serviceAuthMap) {
		this.serviceAuthMap = serviceAuthMap;
	}

	public Integer getAuthIsAll() {
		return authIsAll;
	}

	public void setAuthIsAll(Integer authIsAll) {
		this.authIsAll = authIsAll;
	}

	@Override
	public String toString() {
		return "ExcelExportApiDTO [isService=" + isService + ", apiName=" + apiName + ", authIsAll=" + authIsAll + ",serviceAuthMap=" + serviceAuthMap + "]";
	}

}
